package com.openbravo.bean.erp;

import java.util.Date;

import com.openbravo.bean.infobean.CustomerInfo;
import com.openbravo.bean.ref.I_RefCustomer;

import e.odbo.data.bean.I_AutoGeneratorStringKey;
import e.odbo.data.bean.I_ModifiedLogBean;

public class OperationCustomer implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey,I_RefCustomer{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1029934382692112739L;
	private String id;
	private Date lastModified;
	
	private String categoryId;
	private String customerId;
	private CustomerInfo customer;
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	@Override
	public String getKey() {
		return id;
	}

	@Override
	public Date getLastModified() {	
		return lastModified;
	}

	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;	
	}

	@Override
	public void setKey(String key) {
		this.id=key;
	}

	public CustomerInfo getCustomer() {
		return customer;
	}

	public void setCustomer(CustomerInfo customer) {
		this.customer = customer;
	}
}
